package com.hx.er.service.business.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.hx.er.bean.base.RestraurantBean;
import com.hx.er.dao.IRestraurantDao;
import com.hx.er.service.business.IRestraurantService;

public class RestraurantServiceImpl implements IRestraurantService {
	
	@Autowired
	private IRestraurantDao restraurantDao;
	
	public List<RestraurantBean> getRestList() {
		return this.restraurantDao.getRestList(null);
	}

	@Override
	public List<RestraurantBean> getRestList(Map<String, Object> conditions) {
		return this.restraurantDao.getRestList(conditions);
	}
}
